"""
07-字典-遍历键值对，并拆包

    (1) 遍历键值对
        for key,value in 字典序列.items()
            print(f'{key} = {value}')
"""
dict1 = {'name':'张三','age':18,'sex':'男'}

for key,value in dict1.items():
    print(f'{key} = {value}')